package com.jollychic.www.roomdatebasedemo.database;

import android.arch.persistence.db.SupportSQLiteDatabase;
import android.arch.persistence.room.migration.Migration;
import android.support.annotation.NonNull;

/**
 * desc:  <br/>
 * author: 李超杰 <br/>
 * date: 2018/5/14 下午1:13 <br/>
 * since v <br/>
 */
final class Migrations {

    static final Migration MIGRATION_1_2 = new Migration(1, 2) {
        @Override
        public void migrate(@NonNull SupportSQLiteDatabase database) {
            database.execSQL("alter table Stores add column introduction text");
        }
    };

}

